package hn.cch.controller;

import io.micrometer.core.instrument.MeterRegistry;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping(value = "/prometheus")
@RestController
public class PrometheusController {

    @Autowired
    MeterRegistry meterRegistry;

    @GetMapping(value = "/")
    public String index() {
        return "index";
    }

}
